package com.lkx.webservice;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;

@WebService(name="UserService", // 暴露服务名称
targetNamespace="http://webservice.lkx.com/"// 命名空间,一般是接口的包名倒序
)
public interface UserService {
	@WebMethod
	@WebResult
	String getName(@WebParam(name = "userId") Long userId);

	@WebMethod
	@WebResult
	User getUser(Long userId);
}
